package com.elrichuang.userserver.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * EHR系统求职者跟单记录表 ehr_candidate_order
 *
 * @author elric
 * @date 2022-03-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ehr_order_record")
public class OrderRecord implements Serializable {
	private static final long serialVersionUID = 6845993870701024932L;
	/** 跟单记录主键 */
	@TableId(value = "order_record_id", type = IdType.AUTO)
	private Long orderRecordId;

	private Long orderId;

	private Long interviewId;

	/** 跟单时间 **/
	private Date orderTime;

	/** 备注 */
	private String remarks;

	/** 创建时间 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	/** 创建者 */
	@TableField(fill = FieldFill.INSERT)
	private String createBy;

	/** 更新时间 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	/** 更新者 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String updateBy;

	/** 删除标志 0正常 2删除 */
	@TableLogic
	private String delFlag;
}
